home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / manual / who.tex < prev    next >
LaTeX Document  |  1994-04-27  |  990 b   |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: who.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 77 68 6f 20 2d 2d 2d |\section|{who ---|
|00000010| 20 6c 69 73 74 20 61 6c | 6c 20 76 61 72 69 61 62 | list al|l variab|
|00000020| 6c 65 73 7d 0d 5c 6c 61 | 62 65 6c 7b 66 6e 3a 77 |les}.\la|bel{fn:w|
|00000030| 68 6f 7d 0d 5c 69 6e 64 | 65 78 7b 77 68 6f 28 29 |ho}.\ind|ex{who()|
|00000040| 7d 0d 5c 69 6e 64 65 78 | 7b 6c 69 73 74 20 61 6c |}.\index|{list al|
|00000050| 6c 20 76 61 72 69 61 62 | 6c 65 73 7d 0d 5c 69 6e |l variab|les}.\in|
|00000060| 64 65 78 7b 76 61 72 69 | 61 62 6c 65 73 21 6c 69 |dex{vari|ables!li|
|00000070| 73 74 69 6e 67 20 61 6c | 6c 7d 0d 5c 62 65 67 69 |sting al|l}.\begi|
|00000080| 6e 7b 72 61 69 6c 7d 0d | 57 68 6f 20 3a 20 27 77 |n{rail}.|Who : 'w|
|00000090| 68 6f 27 20 27 28 27 20 | 4c 69 73 74 20 3f 27 29 |ho' '(' |List ?')|
|000000a0| 27 20 3b 0d 5c 65 6e 64 | 7b 72 61 69 6c 7d 0d 0d |' ;.\end|{rail}..|
|000000b0| 5c 76 65 72 62 2b 77 68 | 6f 2b 20 68 61 73 20 74 |\verb+wh|o+ has t|
|000000c0| 77 6f 20 66 6f 72 6d 73 | 2e 20 54 68 65 20 66 69 |wo forms|. The fi|
|000000d0| 72 73 74 20 66 6f 72 6d | 20 74 61 6b 65 73 20 6e |rst form| takes n|
|000000e0| 6f 20 61 72 67 75 6d 65 | 6e 74 73 2c 20 61 6e 64 |o argume|nts, and|
|000000f0| 20 72 65 74 75 72 6e 73 | 0d 61 20 73 74 72 69 6e | returns|.a strin|
|00000100| 67 20 6d 61 74 72 69 78 | 20 74 68 61 74 20 6c 69 |g matrix| that li|
|00000110| 73 74 73 20 61 6c 6c 20 | 74 68 65 20 76 61 72 69 |sts all |the vari|
|00000120| 61 62 6c 65 73 20 63 75 | 72 72 65 6e 74 6c 79 20 |ables cu|rrently |
|00000130| 69 6e 20 74 68 65 20 67 | 6c 6f 62 61 6c 0d 73 79 |in the g|lobal.sy|
|00000140| 6d 62 6f 6c 20 74 61 62 | 6c 65 2e 20 20 54 68 65 |mbol tab|le. The|
|00000150| 20 73 65 63 6f 6e 64 20 | 66 6f 72 6d 20 74 61 6b | second |form tak|
|00000160| 65 20 61 20 6c 69 73 74 | 20 61 72 67 75 6d 65 6e |e a list| argumen|
|00000170| 74 2c 20 61 6e 64 20 72 | 65 74 75 72 6e 73 20 61 |t, and r|eturns a|
|00000180| 0d 73 74 72 69 6e 67 20 | 6d 61 74 72 69 78 20 63 |.string |matrix c|
|00000190| 6f 6e 74 61 69 6e 67 20 | 74 68 65 20 6e 61 6d 65 |ontaing |the name|
|000001a0| 73 20 6f 66 20 61 6c 6c | 20 74 68 65 20 65 6c 65 |s of all| the ele|
|000001b0| 6d 65 6e 74 73 20 69 6e | 20 74 68 61 74 20 6c 69 |ments in| that li|
|000001c0| 73 74 2e 0d 0d 0d 5c 70 | 61 72 61 67 72 61 70 68 |st....\p|aragraph|
|000001d0| 7b 45 78 61 6d 70 6c 65 | 7d 0d 5c 69 6e 64 65 78 |{Example|}.\index|
|000001e0| 7b 65 78 61 6d 70 6c 65 | 20 6f 66 20 77 68 6f 28 |{example| of who(|
|000001f0| 29 7d 0d 5c 69 6e 64 65 | 78 7b 77 68 6f 28 29 21 |)}.\inde|x{who()!|
|00000200| 65 78 61 6d 70 6c 65 7d | 0d 5c 62 65 67 69 6e 7b |example}|.\begin{|
|00000210| 76 65 72 62 61 74 69 6d | 7d 0d 3e 20 77 68 6f 28 |verbatim|}.> who(|
|00000220| 29 0d 65 70 73 20 20 70 | 69 20 20 20 20 20 20 20 |).eps p|i |
|00000230| 20 20 20 20 20 20 20 20 | 20 20 20 0d 3e 20 61 20 | | .> a |
|00000240| 3d 20 22 61 20 73 74 72 | 69 6e 67 22 0d 61 20 73 |= "a str|ing".a s|
|00000250| 74 72 69 6e 67 0d 3e 20 | 62 20 3d 20 32 33 2e 35 |tring.> |b = 23.5|
|00000260| 34 0d 20 62 20 3d 0d 20 | 20 20 20 20 32 33 2e 35 |4. b =. | 23.5|
|00000270| 0d 3e 20 63 20 3d 20 72 | 61 6e 64 28 32 2c 35 29 |.> c = r|and(2,5)|
|00000280| 0d 20 63 20 3d 0d 20 20 | 20 20 20 20 20 20 31 20 |. c =. | 1 |
|00000290| 20 20 20 20 20 30 2e 36 | 34 37 20 20 20 20 20 30 | 0.6|47 0|
|000002a0| 2e 30 33 36 39 20 20 20 | 20 20 20 30 2e 36 36 35 |.0369 | 0.665|
|000002b0| 20 20 20 20 20 20 30 2e | 32 30 34 20 20 0d 20 20 | 0.|204 . |
|000002c0| 20 20 30 2e 39 37 35 20 | 20 20 20 20 20 30 2e 33 | 0.975 | 0.3|
|000002d0| 33 33 20 20 20 20 20 20 | 30 2e 31 36 32 20 20 20 |33 |0.162 |
|000002e0| 20 20 30 2e 30 38 34 37 | 20 20 20 20 20 20 30 2e | 0.0847| 0.|
|000002f0| 31 36 37 20 20 0d 3e 20 | 4c 2e 73 74 72 69 6e 67 |167 .> |L.string|
|00000300| 20 3d 20 61 3b 0d 3e 20 | 4c 2e 54 77 65 6e 74 79 | = a;.> |L.Twenty|
|00000310| 54 68 72 65 65 20 3d 20 | 62 3b 0d 3e 20 4c 2e 61 |Three = |b;.> L.a|
|00000320| 4d 61 74 72 69 78 20 3d | 20 63 3b 0d 3e 20 77 68 |Matrix =| c;.> wh|
|00000330| 6f 28 29 0d 4c 20 20 20 | 20 62 20 20 20 20 65 70 |o().L | b ep|
|00000340| 73 20 20 20 20 20 20 20 | 20 20 20 20 20 0d 61 20 |s | .a |
|00000350| 20 20 20 63 20 20 20 20 | 70 69 20 20 20 20 20 20 | c |pi |
|00000360| 20 20 20 20 20 20 20 0d | 3e 20 77 68 6f 28 4c 29 | .|> who(L)|
|00000370| 0d 54 77 65 6e 74 79 54 | 68 72 65 65 20 20 61 4d |.TwentyT|hree aM|
|00000380| 61 74 72 69 78 20 20 20 | 20 20 20 73 74 72 69 6e |atrix | strin|
|00000390| 67 0d 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |g.\end{v|erbatim}|
|000003a0| 0d 0d 53 65 65 20 61 6c | 73 6f 3a 20 50 61 67 65 |..See al|so: Page|
|000003b0| 7e 5c 70 61 67 65 72 65 | 66 7b 66 6e 3a 77 68 61 |~\pagere|f{fn:wha|
|000003c0| 74 7d 20 5c 76 65 72 62 | 2b 77 68 61 74 28 29 2b |t} \verb|+what()+|
|000003d0| 2e 0d 0d 5c 6e 65 77 70 | 61 67 65 0d 0d 0d |...\newp|age... |
+--------+-------------------------+-------------------------+--------+--------+